you can call this script, using the "src" attribute, from any of your pages:

<html>
<head>
</head>
<body>
<script src="xxx.js"></script>
</body>
</html>

#Title: How to Run an External JavaScript
#Element: 189: Save the external file as xxx.js. Note: The ...
#Article: 78: JavaScript Where To ...